<?php

namespace App\Api\Services;

use App\Api\Models\CompanyClassModel;

class CompanyClassService
{
    //检查
    static public function checkClass($data)
    {
        if(empty(CompanyClassModel::where($data)->first())) {
            return true;
        }
        else {
            return false;
        }
    }
}
